#include "mainwindow.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    //禁用最大化按钮
    w.setWindowFlags(w.windowFlags() & ((~Qt::WindowMinMaxButtonsHint) | Qt::WindowMinimizeButtonHint));
    //w.setFixedSize(800, 600);
    w.show();

    return a.exec();
}
